﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/philadmin/Philadmin.Master" CodeBehind="EditTourCost.aspx.vb" Inherits="Phila.EditTourCost" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<table width="100%" cellpadding="3" cellspacing="3" align="center">
        <tr>
            <td>
                <h1>
                    Edit Package Cost
                </h1>
                <table width="98%" align="center" cellpadding="3" cellspacing="3">
                    <tr>
                        <td colspan="2" align="center" class="style1">
                            <asp:Label ID="lblMsg" runat="server" ForeColor="Red" Font-Bold="True"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td width="120px">
                            <b>Tour&nbsp; Name</b>
                        </td>
                        <td>
                            <asp:DropDownList ID="cmbTour" runat="server" CssClass="form-text">
                            </asp:DropDownList>
                            <asp:RequiredFieldValidator ID="reqTour" runat="server" ErrorMessage="&lt;br /&gt;Select Tour Name"
                                ControlToValidate="cmbTour" Display="Dynamic" InitialValue="0" ValidationGroup="submit" CssClass="red"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <b>Client Type</b></td>
                        <td>
                            <asp:DropDownList ID="cmbClient" runat="server" CssClass="form-text">                                
                                <asp:ListItem Text="--Select--" Value="0"></asp:ListItem>
                                <asp:ListItem Text="B2C" Value="b2c"></asp:ListItem>
                                <asp:ListItem Text="B2B" Value="b2b"></asp:ListItem>
                            </asp:DropDownList>

                            <asp:RequiredFieldValidator ID="reqClient" runat="server" 
                                ControlToValidate="cmbClient" Display="Dynamic" 
                                ErrorMessage="&lt;br /&gt;Select Client Type" InitialValue="0" 
                                ValidationGroup="submit" CssClass="red"></asp:RequiredFieldValidator>

                        </td>
                    </tr>
                    <tr>
                        <td>
                            <b>Start Date</b></td>
                        <td>
                            <asp:TextBox ID="txtStartDate" runat="server" MaxLength="25" size="20" CssClass="form-text datepicker startdate"></asp:TextBox>
                                            <%--<a href="javascript: NewCssCal('txtStartDate','ddmmyyyy','arrow')">
                                                <img src="images/calendar_icon.gif" width="16" height="16" alt="Pick a date"></a>--%>
                            <asp:RequiredFieldValidator ID="reqStart" runat="server" 
                                ErrorMessage="&lt;br /&gt;Enter Start Date" 
                                ControlToValidate="txtStartDate" Display="Dynamic" ValidationGroup="submit" CssClass="red"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <b>End Date</b></td>
                        <td>
                            <asp:TextBox ID="txtEndDate" runat="server" MaxLength="25" size="20" CssClass="form-text datepicker enddate"></asp:TextBox>
                                            <%--<a href="javascript: NewCssCal('txtEndDate','ddmmyyyy','arrow')">
                                                <img src="images/calendar_icon.gif" width="16" height="16" alt="Pick a date"></a>--%>
                            <asp:RequiredFieldValidator ID="reqEnd" runat="server" 
                                ErrorMessage="&lt;br /&gt;Enter End Date" ControlToValidate="txtEndDate" 
                                Display="Dynamic" ValidationGroup="submit" CssClass="red"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <b>Cost</b>
                        </td>
                        <td>
                                <table cellpadding="0" cellspacing="0" class="costtable">
                                    <tr>
                                        <td>
                                            <p><b>1 Pax</b><br />
                                            <asp:TextBox ID="txtPax1" runat="server" Text="0.00" CssClass="form-text"></asp:TextBox>
                                            <asp:RegularExpressionValidator ID="regPax1" runat="server" ControlToValidate="txtPax1"
                                                Display="Dynamic" ErrorMessage="&lt;br /&gt;Enter Money only" ValidationExpression="^\$?[0-9]+(,[0-9]{3})*(\.[0-9]{2})?$"
                                                ValidationGroup="submit" CssClass="red"></asp:RegularExpressionValidator></p>
                                        </td>
                                        <td width="10px"></td>
                                        <td>
                                            <p><b>2 Pax</b><br />
                                            <asp:TextBox ID="txtPax2" runat="server" Text="0.00" CssClass="form-text"></asp:TextBox>
                                            <asp:RegularExpressionValidator ID="regPax2" runat="server" ControlToValidate="txtPax2"
                                                Display="Dynamic" ErrorMessage="&lt;br /&gt;Enter Money only" ValidationExpression="^\$?[0-9]+(,[0-9]{3})*(\.[0-9]{2})?$"
                                                ValidationGroup="submit" CssClass="red"></asp:RegularExpressionValidator></p>
                                        </td>
                                        <td width="10px"></td>
                                        <td>
                                            <p><b>3 Pax</b><br />
                                            <asp:TextBox ID="txtPax3" runat="server" Text="0.00" CssClass="form-text"></asp:TextBox>
                                            <asp:RegularExpressionValidator ID="regPax3" runat="server" ControlToValidate="txtPax3"
                                                Display="Dynamic" ErrorMessage="&lt;br /&gt;Enter Money only" ValidationExpression="^\$?[0-9]+(,[0-9]{3})*(\.[0-9]{2})?$"
                                                ValidationGroup="submit" CssClass="red"></asp:RegularExpressionValidator></p>
                                        </td>
                                        <td width="10px"></td>
                                        <td>
                                            <p><b>4 Pax</b><br />
                                            <asp:TextBox ID="txtPax4" runat="server" Text="0.00" CssClass="form-text"></asp:TextBox>
                                            <asp:RegularExpressionValidator ID="regPax4" runat="server" ControlToValidate="txtPax4"
                                                Display="Dynamic" ErrorMessage="&lt;br /&gt;Enter Money only" ValidationExpression="^\$?[0-9]+(,[0-9]{3})*(\.[0-9]{2})?$"
                                                ValidationGroup="submit" CssClass="red"></asp:RegularExpressionValidator></p>
                                        </td>
                                        <td width="10px"></td>
                                        <td>
                                            <p><b>5 Pax</b><br />
                                            <asp:TextBox ID="txtPax5" runat="server" Text="0.00" CssClass="form-text"></asp:TextBox>
                                            <asp:RegularExpressionValidator ID="regPax5" runat="server" ControlToValidate="txtPax5"
                                                Display="Dynamic" ErrorMessage="&lt;br /&gt;Enter Money only" ValidationExpression="^\$?[0-9]+(,[0-9]{3})*(\.[0-9]{2})?$"
                                                ValidationGroup="submit" CssClass="red"></asp:RegularExpressionValidator></p>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <p><b>6 Pax</b><br />
                                            <asp:TextBox ID="txtPax6" runat="server" Text="0.00" CssClass="form-text"></asp:TextBox>
                                            <asp:RegularExpressionValidator ID="regPax6" runat="server" ControlToValidate="txtPax6"
                                                Display="Dynamic" ErrorMessage="&lt;br /&gt;Enter Money only" ValidationExpression="^\$?[0-9]+(,[0-9]{3})*(\.[0-9]{2})?$"
                                                ValidationGroup="submit" CssClass="red"></asp:RegularExpressionValidator></p>
                                        </td>
                                        <td width="10px"></td>
                                        <td>
                                            <p><b>7 Pax</b><br />
                                            <asp:TextBox ID="txtPax7" runat="server" Text="0.00" CssClass="form-text"></asp:TextBox>
                                            <asp:RegularExpressionValidator ID="regPax7" runat="server" ControlToValidate="txtPax7"
                                                Display="Dynamic" ErrorMessage="&lt;br /&gt;Enter Money only" ValidationExpression="^\$?[0-9]+(,[0-9]{3})*(\.[0-9]{2})?$"
                                                ValidationGroup="submit" CssClass="red"></asp:RegularExpressionValidator></p>
                                        </td>
                                        <td width="10px"></td>
                                        <td>
                                            <p><b>8 Pax</b><br />
                                            <asp:TextBox ID="txtPax8" runat="server" Text="0.00" CssClass="form-text"></asp:TextBox>
                                            <asp:RegularExpressionValidator ID="regPax8" runat="server" ControlToValidate="txtPax8"
                                                Display="Dynamic" ErrorMessage="&lt;br /&gt;Enter Money only" ValidationExpression="^\$?[0-9]+(,[0-9]{3})*(\.[0-9]{2})?$"
                                                ValidationGroup="submit" CssClass="red"></asp:RegularExpressionValidator></p>
                                        </td>
                                        <td width="10px"></td>
                                        <td>
                                            <p><b>9 Pax</b><br />
                                            <asp:TextBox ID="txtPax9" runat="server" Text="0.00" CssClass="form-text"></asp:TextBox>
                                            <asp:RegularExpressionValidator ID="regPax9" runat="server" ControlToValidate="txtPax9"
                                                Display="Dynamic" ErrorMessage="&lt;br /&gt;Enter Money only" ValidationExpression="^\$?[0-9]+(,[0-9]{3})*(\.[0-9]{2})?$"
                                                ValidationGroup="submit" CssClass="red"></asp:RegularExpressionValidator></p>
                                        </td>
                                        <td width="10px"></td>
                                        <td>
                                            &nbsp;</td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <p><b>Single supp</b><br />
                                            <asp:TextBox ID="txtSingle" runat="server" Text="0.00" CssClass="form-text"></asp:TextBox>
                                            <asp:RegularExpressionValidator ID="regSingle" runat="server" ControlToValidate="txtSingle"
                                                Display="Dynamic" ErrorMessage="&lt;br /&gt;Enter Money only" ValidationExpression="^\$?[0-9]+(,[0-9]{3})*(\.[0-9]{2})?$"
                                                ValidationGroup="submit" CssClass="red"></asp:RegularExpressionValidator></p>
                                        </td>
                                        <td width="10px"></td>
                                        <td>
                                            <p><b>Child 0-12</b><br />
                                            <asp:TextBox ID="txtChild" runat="server" Text="0.00" CssClass="form-text"></asp:TextBox>
                                            <asp:RegularExpressionValidator ID="regChild" runat="server" ControlToValidate="txtChild"
                                                Display="Dynamic" ErrorMessage="&lt;br /&gt;Enter Money only" ValidationExpression="^\$?[0-9]+(,[0-9]{3})*(\.[0-9]{2})?$"
                                                ValidationGroup="submit" CssClass="red"></asp:RegularExpressionValidator></p>
                                        </td>
                                        <td width="10px"></td>
                                        <td>
                                            &nbsp;</td>
                                        <td width="10px"></td>
                                        <td>
                                            &nbsp;
                                        </td>
                                        <td width="10px"></td>
                                        <td>
                                            &nbsp;
                                        </td>
                                    </tr>
                                </table>           

                        </td>
                    </tr>
                    <%--<tr>
                        <td>
                            <b>Valid upto</b>
                        </td>
                        <td>
                                <asp:TextBox ID="txtValid" runat="server" MaxLength="25" size="20"></asp:TextBox>
                                            <a href="javascript: NewCssCal('txtValid','ddmmyyyy','arrow')">
                                                <img src="images/calendar_icon.gif" width="16" height="16" alt="Pick a date"></a>
                        </td>
                    </tr>--%>
                    <tr>
                        <td>
                            <b>IsActive</b>
                        </td>
                        <td>
                            <asp:CheckBox ID="chkActive" runat="server" Checked="true" />
                        </td>
                    </tr>
                    <tr>
                        <td>
                        </td>
                        <td>
                            <asp:Button ID="btnSave" runat="server" Text="Save" ValidationGroup="submit" CssClass="form-button" />&nbsp;&nbsp;
                            <asp:Button ID="btnCancel" runat="server" Text="Cancel" CssClass="form-button" />
                        </td>
                    </tr>
                    <tr>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                            &nbsp;
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
</asp:Content>
